package app.msy.cn.rxandroid.ui.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import app.msy.cn.rxandroid.R;
import app.msy.cn.rxandroid.custom.PageWidget;
import app.msy.cn.rxandroid.custom.PageWidgetAdapter;
import butterknife.BindView;
import butterknife.ButterKnife;

public class GalleryActivity extends AppCompatActivity {


    @BindView(R.id.page_widget)
    PageWidget pageWidget;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_gallery);
        ButterKnife.bind(this);

        PageWidgetAdapter adapter = new PageWidgetAdapter(this);
        pageWidget.setAdapter(adapter);
    }
}
